package com.project.light.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "B_StationInfo_R")
public class StationInfoR implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    @Column(name = "StationId ")
    private Integer stationId;

    @Column(name = "UpdateTime")
    private Date updateTime;

    /**
     * 状态
     */
    @Column(name = "State")
    private Integer state;

    @Column(name = "SysId")
    private String sysId;

    /**
     * 通信号
     */
    @Column(name = "CommID")
    private Integer commID;

    /**
     * 站点编号
     */
    @Column(name = "StationCode")
    private String stationCode;

    /**
     * 站点名称
     */
    @Column(name = "StationName")
    private String stationName;

    /**
     * OPC地址
     */
    @Column(name = "OPCAddress")
    private String opcAddress;

    /**
     * 区域ID
     */
    @Column(name = "AreaID")
    private Integer areaID;

    /**
     * 行政区ID
     */
    @Column(name = "districtID")
    private Integer districtID;

    /**
     * 灯具ID
     */
    @Column(name = "LightID")
    private Integer lightID;

    /**
     * IP地址
     */
    @Column(name = "IP")
    private String ip;

    /**
     * 投资情况
     */
    @Column(name = "InvestmentMode")
    private Integer investmentMode;

    /**
     * 建设项目ID
     */
    @Column(name = "ConstructID")
    private Integer constructID;

    /**
     * 建筑ID
     */
    @Column(name = "BuildingID")
    private Integer buildingID;

    /**
     * 安装位置描述
     */
    @Column(name = "LocationInformation")
    private String locationInformation;

    /**
     * 设备管理范围
     */
    @Column(name = "ScopeOfManagement")
    private String scopeOfManagement;

    /**
     * 灯光养护单位
     */
    @Column(name = "MaintenanceUnit")
    private String maintenanceUnit;

    /**
     * 集控养护单位
     */
    @Column(name = "ControlUnit")
    private String controlUnit;

    /**
     * 运维项目编号
     */
    @Column(name = "ProjectCode")
    private String projectCode;

    /**
     * 补贴电费单价
     */
    @Column(name = "SubsidizedUnitPrice")
    private Double subsidizedUnitPrice;

    /**
     * 电流配比字段
     */
    @Column(name = "ElectricRatio")
    private Double electricRatio;

    /**
     * 设计功率
     */
    @Column(name = "totalPower")
    private Double totalPower;

    /**
     * 灯具数量
     */
    @Column(name = "totalLamps")
    private Integer totalLamps;


    @Column(name = "pointPhoto")
    private String stationPhoto;

    @Column(name = "pointNightPhoto")
    private String stationNightPhoto;

    /**
     * 坐标经度
     */
    @Column(name = "Lng")
    private String lng;

    /**
     * 坐标纬度
     */
    @Column(name = "Lat")
    private String lat;

    /**
     * 创建时间
     */
    @Column(name = "CreatedDate")
    private Date createdDate;

    /**
     * 创建人用户id
     */
    @Column(name = "CreatedUser")
    private String createdUser;

    /**
     * 修改日期
     */
    @Column(name = "UpdatedDate")
    private Date updatedDate;

    /**
     * 修改人用户id
     */
    @Column(name = "UpdatedUser")
    private String updatedUser;

    /**
     * 删除标识
     */
    @Column(name = "DeleteFlag")
    private Integer deleteFlag;

    @Column(name = "circuitNum")
    private Integer circuitNum;

    @Column(name = "DMXNum")
    private Integer dmxNum;

    @Column(name = "energyMeter")
    private Integer energyMeter;

    @Column(name = "sysName")
    private String sysName;

    @Column(name = "address")
    private String address;

    @Column(name = "AccessName")
    private String accessName;

    @Column(name = "GroupID")
    private Integer groupID;
}
